🍄 Today's Good Fact
(13 actions, 18 KB)
0 URL
https://www.britannica.com/one-good-fact
»
1 Get Contents of URL
[0 URL]
»
3
2 Format Date
[CurrentDate]
»
DateFormatStyle
:
Custom
DateFormat
:
MMMM dd
3 Match Text
[2 Formatted Date]
, \d{4}\n(.*)
in
[1 Contents of URL
as Text
]
»
MatchTextCaseSensitive
:
false
4 Get Match Group At Index 1 in
[3 Matches]
➔ goodFact
»
5
8
10
5 Dictionary »
{ "prompt": "Please teach and educate me more on this:", "content": "
[4 goodFact]
" }
6 Dictionary »
{ "shortcutName": "Gemini - Generate Content", "shortcutInput": "
[5 Dictionary]
" }
7 Run Shortcut
Build Run Shortcut URL
»
10
Input
:
[6 Dictionary]
Workflow
:
{ "workflowIdentifier": "A4D0829E-EC6C-4E7E-8088-6EBD82EA8061", "workflowName": "Build Run Shortcut URL", "isSelf": false }
8 Text »
Use one sentence to distill the most important takeaway that I can learn from:
[4 goodFact]
9 Run Shortcut
Gemini - Generate Content
»
Input
:
[8 Text]
Workflow
:
{ "workflowIdentifier": "B329576B-928F-42A5-8F4C-888A727A1D7D", "workflowName": "Gemini - Generate Content", "isSelf": false }
10 Dictionary »
{ "title": "🍄 Today's Good Fact", "subtitle": "
[9 Shortcut Result]
", "body": "
[4 goodFact]
", "openURL": "
[7 Shortcut Result]
" }
11 Scriptable > ParameterizedRunScriptIntent
fileName
:
Create Notification
parameter
:
[10 Dictionary]
ShowWhenRun
:
false
12 Lock Screen